//
//  RegisterStepThreeView.m
//  Pregnant
//
//  Created by xiangming on 14-4-21.
//  Copyright (c) 2014年 elitework. All rights reserved.
//

#import "RegisterStepThreeView.h"
#import "RegisterHelper.h"
#import "AppDelegate.h"

@implementation RegisterStepThreeView

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
        
    }
    return self;
}


- (void)awakeFromNib
{
    [_citesButton setTitle:[RegisterHelper shareHelper].citesName forState:UIControlStateNormal];
}

-(IBAction)selectProvinceAction:(id)sender{
    if (self.delegate && [self.delegate respondsToSelector:@selector(selectProvinceAction)]) {
        [self.delegate selectProvinceAction];
    }
}

-(IBAction)selectCitesAction:(id)sender{
    if (self.delegate && [self.delegate respondsToSelector:@selector(selectCitesAction)]) {
        [self.delegate selectCitesAction];
    }
}

-(IBAction)confirmAction:(id)sender{
    if (self.delegate && [self.delegate respondsToSelector:@selector(confirmAction)]) {
        [self.delegate confirmAction];
    }
}

@end
